package stanford.com.balldating.base.service;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.project.framework.model.JSONModel;

import stanford.com.balldating.base.dao.ISysroomDao;
import stanford.com.balldating.base.model.Sysroom;

@Service
@Transactional
public class SysroomService {
	
	@Autowired
	public ISysroomDao dao;
	
	public JSONModel creatematch(String username){
		JSONModel model=new JSONModel();
		
		Sysroom user=new Sysroom();
		user.sethost(username);
		user.setp1(username);
		return model;
	}

}
